package csc.approximation;

import csc.main.Colors;

/**
 * Interface for approximation equations.
 *
 * @author Stanislau Dubrouski
 */
public interface ApproximationEquation {

    /**
     * Calculates estimated shift based on given x and y parameters.
     *
     * @param x
     * @param y
     * @return estimated shift for given coordinates.
     */
    public float calculateEstimatedShiftValue(double x, double y);

    /**
     *
     * @param color
     * @return true, if one of the colors equals to given color
     */
    public boolean includesColor(Colors color);
}
